package base.tag;

import javax.servlet.jsp.JspException;
import javax.servlet.jsp.tagext.Tag;

public class BsBtnGroupTag extends BsContainerTag<Object> {

	private static final long serialVersionUID = 1L;
	
	@Override
	public int doStartTag() throws JspException {
		
		StringBuffer tag = new StringBuffer();
		tag.append("<div class=\"btn-group\" id='" + name + "' role=\"group\">");
		output(tag);
		return Tag.EVAL_PAGE;
	}
	
	@Override
	public int doEndTag() throws JspException {
		StringBuffer tag = new StringBuffer();
		tag.append("</div>");
		output(tag);
		
		return Tag.EVAL_PAGE;
	}

}
